Skip to content

Create Relativity.java#7323

Merged
DenizAltunkapan merged 14 commits intoTheAlgorithms:masterfrom
kvadrik:patch-6
Apr 4, 2026
Merged

Create Relativity.java#7323
DenizAltunkapan merged 14 commits intoTheAlgorithms:masterfrom
kvadrik:patch-6

Conversation

@kvadrik
Copy link
Copy Markdown
Contributor

@kvadrik kvadrik commented Mar 18, 2026

Created the file that implements relativity formulae.

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new algorithms include a corresponding test class that validates their functionality.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

Created the file that implements relativity formulae.
kvadrik added 5 commits March 18, 2026 16:14
Test file created for Relativity.java.
Function name ambiguity resolved
Extra white space removed
Extra spaces added
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.43%. Comparing base (b7e9c85) to head (46d19db).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7323      +/-   ##
============================================
- Coverage     79.44%   79.43%   -0.01%     
- Complexity     7116     7122       +6     
============================================
  Files           793      794       +1     
  Lines         23273    23287      +14     
  Branches       4583     4584       +1     
============================================
+ Hits          18489    18499      +10     
- Misses         4047     4048       +1     
- Partials        737      740       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

kvadrik added 7 commits March 18, 2026 16:53
Spaces added and removed
White spaces added and removed
Added and removed spaces
Space removed
Replaced tabs by spaces
Tabs replaced by spaces
@DenizAltunkapan DenizAltunkapan enabled auto-merge (squash) April 4, 2026 21:55
@DenizAltunkapan DenizAltunkapan merged commit abd1c47 into TheAlgorithms:master Apr 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants